package test.homework5;

public class Data {
	private String classes;
	private String subject;
	private String name;
	private int score;
	
	public Data() {
	}

	public Data(String classes, String subuject, String name, int score) {
		this.classes = classes;
		this.subject = subuject;
		this.name = name;
		this.score = score;
	}

	public String getClasses() {
		return classes;
	}

	public void setClasses(String classes) {
		this.classes = classes;
	}

	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}

	@Override
	public String toString() {
		return "Data [classes=" + classes + ", subject=" + subject + ", name=" + name + ", score=" + score + "]";
	}
	
}
